<div class="button-item">
    <button pButton type="text" class="ui-button-info" icon="fa fa-plus" (click)="saveUpdate()" label="保存"></button>
    <button pButton type="text" class="ui-button-info" icon="fa fa-plus" (click)="goBack()" label="返回"></button>
</div>

<div class="content-item">
    <p-tabView>
        <p-tabPanel header="任务属性" lefticon="fa fa-calendar">
            <form [formGroup]="scheduleForm">
                <input type="hidden" formControlName="jobId"/>
                <div class="ui-g ui-g-10">
                    <div class="ui-g-6">
                        <div class="ui-g-4">任务分组</div>
                        <div class="ui-g-8"><p-dropdown formControlName="jobGroup" [options]="groups" 
                            (onChange)="groupChange($event)" [style]="{'width':'100%'}"></p-dropdown></div>
                    </div>
                    <div class="ui-g-6">
                        <div class="ui-g-4">任务名称</div>
                        <div class="ui-g-8"><input pInputText type="text" formControlName="jobName" style="width:100%"/></div>
                    </div>
                    <div class="ui-g-12">
                        <div class="ui-g-2">接口类型</div>
                        <div class="ui-g-10"><input pInputText type="text" formControlName="interfaceName" style="width:100%"/></div>
                    </div>
                    <div class="ui-g-12">
                        <div class="ui-g-2">Cron表达式</div>
                        <div class="ui-g-10"><input pInputText type="text" formControlName="cronExpression" style="width:100%"/></div>
                    </div>
                    <div class="ui-g-12">
                        <div class="ui-g-2">功能描述</div>
                        <div class="ui-g-10"><textarea rows="3" pInputTextarea formControlName="desc" style="width:100%"></textarea></div>
                    </div>
                </div>
            </form>
        </p-tabPanel>
        <p-tabPanel header="执行日志" lefticon="fa fa-print">
            
        </p-tabPanel>
    </p-tabView>
</div>

